package com.xinlianshiye.im.bean

import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Table

/**
 * IM应用
 */
@Entity
@Table(name = "im_app")
class App : Domain() {
    @Column(unique = true, nullable = false, columnDefinition = "varchar(255) comment 'IM应用唯一标识'")
    var appId: String? = null

    @Column(nullable = false, columnDefinition = "varchar(255) comment 'IM应用的密钥'")
    var secret: String? = null

    @Column(columnDefinition = "varchar(255) comment 'IM应用名称， 方便查看没有特殊作用'")
    var name: String? = null
}